package com.connect.ftp.access;

import static org.junit.Assert.*;

import java.io.IOException;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class FileTransferTest {
	
	@Test
	public void test() {
		ApplicationContext context = new ClassPathXmlApplicationContext("fileTransfer-Context.xml");
		FileTransfer bean = (FileTransfer) context.getBean("fileTransfer");
		try {
			bean.download();
			System.out.println("done");
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		//fail("Not yet implemented");
	}

}
